from sqlalchemy import create_engine, Table, MetaData

URI = "mysql+pymysql://root:root@127.0.0.1:3306/elmdb"

def get_conn():
    engine = create_engine(URI, future=True)
    meta = MetaData()
    tbl = Table("crontab_table", meta, autoload_with=engine)
    return engine, tbl
    